package com.zxs.admin;

import client.CategoryClient;
import client.OrderClient;
import client.ProductClient;
import client.UserCient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author zxs
 * *8 12:59
 */
@MapperScan("com.zxs.admin.mapper")
@SpringBootApplication
@EnableFeignClients(clients = {CategoryClient.class,UserCient.class, OrderClient.class, ProductClient.class})
@EnableCaching
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}
